<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="" />
<!-- Le styles -->
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo Yii::app()->baseUrl?>/css/lib/redmond/jquery-ui-1.8.22.custom.css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo Yii::app()->baseUrl?>/css/lib/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo Yii::app()->baseUrl?>/css/lib/form.css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo Yii::app()->baseUrl?>/css/validation.css" />

<link href="<?php echo Yii::app()->baseUrl?>/css/lib/bootstrap.cosmo.min.css"
	rel="stylesheet" />
<style type="text/css">
body {
	padding-top: 60px;
	padding-bottom: 40px;
}

.sidebar-nav {
	padding: 9px 0;
}
</style>
<link
	href="<?php echo Yii::app()->baseUrl?>/css/lib/bootstrap-responsive.css"
	rel="stylesheet" />
<script type="text/javascript">
	var layoutBaseURL='<?php echo Yii::app()->baseUrl?>';
	var layoutModuleUrl='<?php echo Yii::app()->createUrl('/administracion')?>';
</script>
<script type="text/javascript"
	src="<?php echo Yii::app()->baseUrl?>/js/lib/require.js"></script>
<script type="text/javascript"
	src="<?php echo Yii::app()->baseUrl?>/js/app.js"></script>
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse"
					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
				</a> <a class="brand"
					href="<?php Yii::app()->createUrl('/site/index')?>">PROYECTO DTT </a>
				<div>
					<img
						style="position: absolute; display: none; left: 185px; top: 11px"
						src="<?php echo Yii::app()->baseUrl?>/css/img/ajax-loader.gif"
						class="spinner" />
				</div>
				<div class="nav-collapse">
					<div class="btn-group pull-right">
						<?php if(!Yii::app()->user->isGuest):?>
						<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <i
							class="icon-user"></i> <?php echo Yii::app()->user->title?> <span
							class="caret"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">Perfil</a></li>
							<li class="divider"></li>
							<li><a href="<?php echo $this->createUrl('/site/logout')?>">Cerrar
									Sesion</a></li>
						</ul>
						<?php endif;?>
					</div>
					<!-- Top menu  -->
					<?php include_once 'top_menu.php';?>
					<!--/.nav-collapse -->
				</div>
			</div>
		</div>
	</div>
	<div class="container-fluid">
		<?php echo $content?>
	</div>
	<!--/row-->
	<hr />
	<footer>
	<p>&copy; JumLabs 2012 all rights reserved</p>
	</footer>

</body>
</html>
